package cn.jsl.product.mapper;

import cn.jsl.basic.mapper.BaseMapper;
import cn.jsl.product.domain.ProductDetail;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author phub
 * @since 2022-04-15
 */
@Mapper
public interface ProductDetailMapper extends BaseMapper<ProductDetail> {


   //根据服务id删除服务
    void deleteByProductid(Long id);

    //级联删除
    void patchDeleteByProductId(List<Long> ids);
}
